To revoke an issued certificate
Notes
To unrevoke a certificate revoked with the reason code "Certificate Hold," at a command prompt on the CA, type
certutil -revoke CertificateSerialNumber unrevoke
To identify the certificate serial number, in the Revoked Certificates folder, in the details pane, double-click the revoked certificate, and then click the Details tab.
To change the reason code for a certificate previously revoked with the reason code "Certificate Hold," type the appropriate command at a command prompt on the CA.
New reason code | Command |
---|---|
Unspecified | certutil -revoke CertificateSerialNumber 0 |
Key Compromise | certutil -revoke CertificateSerialNumber 1 |
CA Compromise | certutil -revoke CertificateSerialNumber 2 |
Affiliation Changed | certutil -revoke CertificateSerialNumber 3 |
Superseded | certutil -revoke CertificateSerialNumber 4 |
Cessation of Operation | certutil -revoke CertificateSerialNumber 5 |
certutil -revoke SerialNumber ReasonCode
Value | Description |
---|---|
revoke | Specifies the revocation of an existing certificate. |
SerialNumber | Specifies the serial number of the certificate for revocation. |
ReasonCode | Specifies the reason code for this certificate revocation. For values, see Notes. |
Notes
certutil -revoke -?
Reason for revoking a certificate |
Reason code |
---|---|
Unspecified | 0 |
Key Compromise | 1 |
CA Compromise | 2 |
Affiliation Changed | 3 |
Superseded | 4 |
Cessation of Operation | 5 |
Certificate Hold | 6 |
To unrevoke a certificate that is revoked with the reason code "Certificate Hold," at a command prompt on the CA, type
certutil -revoke CertificateSerialNumber unrevoke